package net.uman.framework.modules.objectpool;


public class PoolConfig {
	public PoolConfig() {		
	}
	
	public boolean isCachable(Class cls) {
		//ObjectCache cache = (ObjectCache)cls.getAnnotation(ObjectCache.class);
		//return cache == null || cache.cachable();
		return false;
	}
	
	public int getLife(Class cls) {
		//ObjectCache cache = (ObjectCache)cls.getAnnotation(ObjectCache.class);
		//return cache == null ? ObjectPool.DEFAULT_LIFE : cache.life();
		return 1;
	}
	
//	public int getLife(String cls) {
//		Item item = items.get(cls);
//		return item.getLife();
//	}
//	
}
